import uviewPlus from 'uview-plus'
import { customimgURL } from '@/config'
import share from '@/utils/share.js'	// 导入并挂载全局的分享方法
import { createSSRApp } from "vue";
import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
  app.use(uviewPlus)
  app.mixin(share);
  app.provide('$baseimgurl', customimgURL)
  return {
    app,
  };
}
// 如此配置即可
uni.$u.config.unit = 'rpx'
